﻿namespace Decisions.HL7
{
    public class HL7Constants
    {
        #region flow constants
        public const string RESULT_PARAM = "Result";
        public const string INTERFACE_ID_PARAM = "InterfaceId";
        public const string TEXT_ENVELOPE_PARAM = "HL7 Envelope";
        public const string ENVELOPE_PARAM = "HL7 Envelope";
        public const string DONE_PATH = "Done";
        public const string ABORT_PATH = "Abort";
        #endregion

        #region state constants
        public const string STATE_SUCCESS = "Success";
        public const string STATE_FAILED = "Failed";
        public const string STATE_RUNNING = "Running";
        public const string STATE_DISABLED = "Disabled";
        public const string STATE_ENABLED = "Enabled";
        public const string STATE_INVALID = "Not valid";
        #endregion

        public const string HL7_INTERFACES_FOLDER = "78FB984A-78F5-4C00-971B-F8FF28BA619B";
        public const string DEFAULT_ELEMENTS_FOR_HL7_FOLDER = "HL7 CONFIG ELEMENTS";
        
        public const string INTERFACE_PAGE_ID = "3e9257cf-ab1c-4958-acb4-47dbdc753113";
        public const string ALL_INTERFACES_PAGE_ID = "52e79556-7aa4-48c5-a482-3f4faf103b12";
        public const string TECHNICAL_ERROR_ROLE_ID = "HL7 TECH ERROR ASSIGNMENT ROLE";

        public const string SUCCESS_FOLDER_NAME = "Successful Files";
        public const string FAILED_FOLDER_NAME = "Failed Files";
        public const string ACK_FOLDER_NAME = "Ack";
    }
}
